#ifndef TESTWEBFORM_H
#define TESTWEBFORM_H

#include <QWidget>
#include <QStringList>


#include "echoserver/echoserver.h"
//#include "filedata.h"

namespace Ui {
class TestWebForm;
}


//2017-7-11-xyf-demo
class TestWebForm : public QWidget
{
    Q_OBJECT

public:
    explicit TestWebForm(QWidget *parent = 0);
    ~TestWebForm();


    EchoServer *server;
//    FileData filedata;
signals:
    void signal_writeWebCmd(QObject *id, QString cmd);

public slots:
    void readWebCmd(QObject *id, QString cmd);
    void writeWebCmd( QObject *id, QString cmd );

private slots:
    void on_checkBox_toggled(bool checked);
    void on_pushButton_send_clicked();

private:
    Ui::TestWebForm *ui;

};

#endif // TESTWEBFORM_H
